<?php

namespace Portal\UserBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * UserForgetPassword
 */
class UserForgetPassword
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var string
     */
    private $email;

    /**
     * @var integer
     */
    private $userId;

    /**
     * @var string
     */
    private $token;

    /**
     * @var integer
     */
    private $isActive;

    /**
     * @var integer
     */
    private $isCalled;

    /**
     * @var integer
     */
    private $isSuccess;

    /**
     * @var \DateTime
     */
    private $generatedAt;

    /**
     * @var \DateTime
     */
    private $createdAt;

    /**
     * @var \DateTime
     */
    private $calledAt;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set email
     *
     * @param string $email
     * @return UserForgetPassword
     */
    public function setEmail($email)
    {
        $this->email = $email;
    
        return $this;
    }

    /**
     * Get email
     *
     * @return string 
     */
    public function getEmail()
    {
        return $this->email;
    }

    /**
     * Set userId
     *
     * @param integer $userId
     * @return UserForgetPassword
     */
    public function setUserId($userId)
    {
        $this->userId = $userId;
    
        return $this;
    }

    /**
     * Get userId
     *
     * @return integer 
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * Set token
     *
     * @param string $token
     * @return UserForgetPassword
     */
    public function setToken($token)
    {
        $this->token = $token;
    
        return $this;
    }

    /**
     * Get token
     *
     * @return string 
     */
    public function getToken()
    {
        return $this->token;
    }

    /**
     * Set isActive
     *
     * @param integer $isActive
     * @return UserForgetPassword
     */
    public function setIsActive($isActive)
    {
        $this->isActive = $isActive;
    
        return $this;
    }

    /**
     * Get isActive
     *
     * @return integer 
     */
    public function getIsActive()
    {
        return $this->isActive;
    }

    /**
     * Set isCalled
     *
     * @param integer $isCalled
     * @return UserForgetPassword
     */
    public function setIsCalled($isCalled)
    {
        $this->isCalled = $isCalled;
    
        return $this;
    }

    /**
     * Get isCalled
     *
     * @return integer 
     */
    public function getIsCalled()
    {
        return $this->isCalled;
    }

    /**
     * Set isSuccess
     *
     * @param integer $isSuccess
     * @return UserForgetPassword
     */
    public function setIsSuccess($isSuccess)
    {
        $this->isSuccess = $isSuccess;
    
        return $this;
    }

    /**
     * Get isSuccess
     *
     * @return integer 
     */
    public function getIsSuccess()
    {
        return $this->isSuccess;
    }

    /**
     * Set generatedAt
     *
     * @param \DateTime $generatedAt
     * @return UserForgetPassword
     */
    public function setGeneratedAt($generatedAt)
    {
        $this->generatedAt = $generatedAt;
    
        return $this;
    }

    /**
     * Get generatedAt
     *
     * @return \DateTime 
     */
    public function getGeneratedAt()
    {
        return $this->generatedAt;
    }

    /**
     * Set createdAt
     *
     * @param \DateTime $createdAt
     * @return UserForgetPassword
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;
    
        return $this;
    }

    /**
     * Get createdAt
     *
     * @return \DateTime 
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }

    /**
     * Set calledAt
     *
     * @param \DateTime $calledAt
     * @return UserForgetPassword
     */
    public function setCalledAt($calledAt)
    {
        $this->calledAt = $calledAt;
    
        return $this;
    }

    /**
     * Get calledAt
     *
     * @return \DateTime 
     */
    public function getCalledAt()
    {
        return $this->calledAt;
    }
}